  -- Midnight --
function spell0_16151(pUnit, Event) --@Knockdown,n/a--
pUnit:FullCastSpellOnTarget(29711,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_16151', 3416, 1)
end
function spell1_16151(pUnit, Event) --@Mount,n/a--
pUnit:FullCastSpellOnTarget(29770,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_16151', 787, 1)
end
function spell2_16151(pUnit, Event) --@Summon Attumen,n/a--
pUnit:FullCastSpellOnTarget(29714,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_16151', 879, 1)
end
function spell3_16151(pUnit, Event) --@Summon Attumen (Mounted),n/a--
pUnit:FullCastSpellOnTarget(29799,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_16151', 742, 1)
end
function Sorts_16151(pUnit, Event)
choix_sorts_16151 = math.random(0, 3)
if choix_sorts_16151 == 0 then
pUnit:RegisterEvent('spell0_16151', 1, 1)
end
if choix_sorts_16151 == 1 then
pUnit:RegisterEvent('spell1_16151', 1, 1)
end
if choix_sorts_16151 == 2 then
pUnit:RegisterEvent('spell2_16151', 1, 1)
end
if choix_sorts_16151 == 3 then
pUnit:RegisterEvent('spell3_16151', 1, 1)
end
end
function mob16151_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_16151', math.random(1500, 3000), 1)
end
function mob16151_Leave(pUnit, Event)
end
function mob16151_Kill(pUnit, Event)
end
function mob16151_Die(pUnit, Event)
pUnit:RemoveEvents();
end
RegisterUnitEvent(16151, 1, 'mob16151_Action')
RegisterUnitEvent(16151, 2, 'mob16151_Leave')
RegisterUnitEvent(16151, 3, 'mob16151_Kill')
RegisterUnitEvent(16151, 4, 'mob16151_Die')
